package com.wind.taobao.api.trade.product.rest
{
	import com.wind.taobao.core.webservice.TaobaoResponse;

	/**
	 * taobao.product.img.delete Response
	 * @author fxy
	 *
	 */
	public class ProductImgDeleteResponse extends TaobaoResponse
	{
		public var product_id:String; // 	 Y 	 产品ID.Product的id,通过taobao.product.add接口新增产品的时候会返回id
		public var pic_id:String; // 	Y 	非主图ID 

		public function ProductImgDeleteResponse(response:TaobaoResponse=null)
		{
			super(response);
			initResults();
		}

		private function initResults():void
		{
			if (body != null && this.isSuccess)
			{
				if (body["rsp"].hasOwnProperty("product_id"))
					product_id=body["rsp"]["product_id"];
				if (body["rsp"].hasOwnProperty("pic_id"))
					pic_id=body["rsp"]["pic_id"];

			}
		}

	}
}